/*lxda5jwXRDisRGHuE9YNTkx/mvAsZhUi4DbHpmzWWKJJa92+WbzhB3Q62FfZgW6c*/
/*
 * @Descripttion:
 * @version:
 * @Author: Chendch
 * @Date: 2019-06-08 15:55:18
 * @LastEditors: Chendch
 * @LastEditTime: 2021-06-10 16:01:49
 */
function checkType(param, type) {
  return Object.prototype.toString.call(param).slice(8, -1).toLowerCase() === type.toLowerCase();
}
function isFunction(param) {
  return checkType(param, "Function");
}

function isUndefined(param) {
  return checkType(param, "Undefined");
}

function isArray(param) {
  return checkType(param, "Array");
}

function isString(param) {
  return checkType(param, "String");
}

function isObject(param) {
  return checkType(param, "Object");
}

function isNumber(param) {
  return checkType(param, "Number");
}

export {
  isFunction,
  isUndefined,
  isArray,
  isString,
  isObject,
  isNumber
}
/*lxda5jwXRDisRGHuE9YNTkx/mvAsZhUi4DbHpmzWWKJJa92+WbzhB3Q62FfZgW6c*/
